package ai.peanut.selfbase.modules.sys.service.impl;


import ai.peanut.selfbase.modules.sys.dao.RoleMenuMapper;
import ai.peanut.selfbase.modules.sys.entity.RoleMenu;
import ai.peanut.selfbase.modules.sys.service.IRoleMenuService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 角色-菜单 服务实现类
 * </p>
 *
 * @author lichong
 * @since 2019-02-19
 */
@Service
public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu> implements IRoleMenuService {
    @Override
    public int deleteByRoleId(Long roleId){
        return baseMapper.deleteByRoleId(roleId);
    }

}
